package com.gopay.common.constants.bank;

public class BocomConstants {

	/** B2C响应报文常量. */

	/** 交易成功. */
	public static final String B2C_RETCODE_SUCCESS = "0";
	/** 未支付. */
	public static final String B2C_TRANSTATE_UNPAY = "0";
	/** 成功. */
	public static final String B2C_ORDERSTATE_SUCCESS = "1";
	/** 撤单. */
	public static final String B2C_ORDERSTATE_CANCELED = "2";
	/** 所有. */
	public static final String B2C_ORDERSTATE_ALL= "0";
	/** 已支付. */
	public static final String B2C_ORDERSTATE_PAID= "1";
	/** 已撤销. */
	public static final String B2C_ORDERSTATE_REVOCATION = "2";
	/** 部分退货. */
	public static final String B2C_ORDERSTATE_PART_RETURNS = "3";
	/** 退货处理中. */
	public static final String B2C_ORDERSTATE_RETURN_PROCESSING = "4";
	/** 全部退货. */
	public static final String B2C_ORDERSTATE_RETURNS = "5";

	/* B2B响应报文常量. */
	/** 交易成功. */
	public static final String B2B_RETCODE_SUCCESS = "0000";
	/** 订单生成. */
	public static final String B2B_ORDERSTATE_ORADERCREATE = "000";
	/** 等待付款. */
	public static final String B2B_ORDERSTATE_WAIT = "010";
	/** 已付款. */
	public static final String B2B_ORDERSTATE_SUCCESS = "020";
	
	/** 银行处理中. */
	public static final String B2B_ORDERSTATE_MARGINPAY_ = "030";
	/** 已发货. */
	public static final String B2B_ORDERSTATE_GOODSSENT = "050";
	/** 订单关闭. */
	public static final String B2B_ORDERSTATE_ORDERCLOSE = "100";
	/** 订单撤销. */
	public static final String B2B_ORDERSTATE_ORDERCANCEL = "110";
	/** 已退款. */
	public static final String B2B_ORDERSTATE_REFUND = "120";

	/** XML报文根节点 */
	public static final String B2BPAY_B2BRES_BEGINTAG = "<BOCOM>";
	
	/** 响应状态 N为正常 E为错误. */
    public static final String RSPTYPE_SUCCESS = "N";
    
    /** 交易状态 0处理中. */
    public static final String TRANSTATE_PROCESSING = "0";
    /** 交易状态 1成功. */
    public static final String TRANSTATE_SUCCESS = "1";
    /** 交易状态 2失败. */
    public static final String TRANSTATE_FAIL = "2";
    /** 交易状态 3异常. */
    public static final String TRANSTATE_ERROR = "3";
    /** 交易状态 9未处理. */
    public static final String TRANSTATE_UNDEAL = "9";
}
